<?php

using('Library.Widgets.Form');
using('Library.Widgets.RecordSet');

class Module_Admin_catalogue extends Admin_IModule
{
    var $_Name  = 'catalogue';
    var $_Title = 'Catalogue';
    
    /**#@+
     * Required Core Objects
     *
     * These are references to the core objects required by this
     * class.
     *
     * @access private
     * @var    object
     */
    var $_Error;
    var $_Profiler;
    var $_DAL;
    var $_Model;
    /**#@-*/

    function __construct()
    {
        // Get references to required objects
        $this->_Error     = &Vault::Get('Debug_Error');
        $this->_Profiler  = &Vault::Get('Debug_Profiling');
        $this->_DAL       = &Vault::Get('DAL');
        $this->_Model     = &Vault::Get('Model');

        // Register Catalogue Specific Actions
        $this->RegisterAction(array('product'), 'Products',  'ManageProducts_List');
        
        // Register Product Template Specific Actions
        $this->RegisterAction(array('category'), 'Categories', 'ProductTemplate_List');         
        
        // Register Product Template Specific Actions
        $this->RegisterAction(array('template'), 'Templates', 'ProductTemplate_List');     
                     
        // Call Admin_IModule constructor (we call it last so it has access to the actions array)
        parent::__construct();        
    }


    /*
     * Action Methods
     */
    
    function ManageCatalogue_List()
    {
        
    }
    
    function ManageCatalogue_CategoryCreate()
    {
        
    }
    
    function ManageCatalogue_CategoryModify()
    {
        
    }
    
    function ManageCatalogue_CategoryDelete()
    {
        
    }
    
    function ManageCatalogue_ProductCreate()
    {
        
    }
    
    function ManageCatalogue_ProductModify()
    {
        
    }
    
    function ManageCatalogue_ProductDelete()
    {
        
    }
    
    function ProductTemplate_List()
    {
        
    }
    
    function ProductTemplate_Create()
    {
        
    }
    
    function ProductTemplate_Modify()
    {
        
    }
    
    function ProductTemplate_Delete()
    {
        
    }
    
    /*
     * Private Module Methods 
     */
}

?>